package com.example.lab.service.impl;

import com.example.lab.dao.EquipmentVoDao;
import com.example.lab.dao.LabVoDao;
import com.example.lab.entity.EquipmentVo;
import com.example.lab.entity.Lab1;
import com.example.lab.entity.LabVo;
import com.example.lab.service.EquipmentVoService;
import com.example.lab.service.LabVoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service("equipmentVoService")
public class EquipmentVoServiceImpl implements EquipmentVoService {
    @Resource
    private EquipmentVoDao equipmentVoDao;
    @Override
    public List<EquipmentVo> queryAll(Integer page, Integer limit, EquipmentVo equipmentVo) {
        return equipmentVoDao.queryAll(page, limit, equipmentVo);
    }

    @Override
    public Long getCount() {
        return equipmentVoDao.getCount();
    }
}
